package com.ruoyi.wapp.util;

public class MyConstants {

	/**
	 * 系统配置
	 */
	public static class CONFIG {
		public final static String TOKEN_HEAD_NAME = "token";//客户端存token的head的name
		public final static String RUQUEST_MEMBER_NAME = "OnlineMember";//登陆会员获取的name值
		public final static long SESSION_TIMEOUT = 12 * 60 * 60l;//session超时时间（秒）
		public final static long SMS_CODE_TIMEOUT = 300;//短信验证码超时时间（秒）
		public final static long CODE_TIMEOUT = 60;//图形验证码超时时间（秒）
		public final static int PAGE_NUM = 1; //当前页数
		public final static int PAGE_SIZE = 10;//一页显示数量
		public final static long EXP_INFO_TIMEOUT = 2 * 60 * 60l;//物流信息超时时间（秒）
	}
	/**
	 * 请求返回码对象
	 */
	public static class RESULT{
		//成功
		public final static String SC0000="0000";//操作成功

		//失败码
		public final static String FI1000="1000";//参数为空或非法
		public final static String EX9999="9999" ;//未知异常
	}
	/**
	 * 验证码类型
	 */
	public static class CODE_TYPE {
		public final static String REGISTER = "00";//注册
		public final static String LOGIN = "01";//登录
		public final static String TRADE_PWD = "02";//交易密码
	}
	/**
	 * 短信验证码类型
	 */
	public static class SMS_CODE_TYPE {
		public final static String REGISTER = "00";//注册
		public final static String LOGIN = "01";//登录
		public final static String TRADE_PWD = "02";//交易密码
		public final static String RESET_PWD = "03";//重置密码
		public final static String WITHDRAW = "04"; //提现
		public final static String TRANSFER = "05"; //转账
	}
}
